Optimal. Leaf size=48 \[ -\frac {a^2 A}{5 x^5}-\frac {a (2 A b+a B)}{3 x^3}-\frac {b (A b+2 a B)}{x}+b^2 B x \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 48, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.050, Rules used = {459}
\begin {gather*} -\frac {a^2 A}{5 x^5}-\frac {a (a B+2 A b)}{3 x^3}-\frac {b (2 a B+A b)}{x}+b^2 B x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 459
Rubi steps
\begin {align*} \int \frac {\left (a+b x^2\right )^2 \left (A+B x^2\right )}{x^6} \, dx &=\int \left (b^2 B+\frac {a^2 A}{x^6}+\frac {a (2 A b+a B)}{x^4}+\frac {b (A b+2 a B)}{x^2}\right ) \, dx\\ &=-\frac {a^2 A}{5 x^5}-\frac {a (2 A b+a B)}{3 x^3}-\frac {b (A b+2 a B)}{x}+b^2 B x\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.02, size = 48, normalized size = 1.00 \begin {gather*} -\frac {a^2 A}{5 x^5}-\frac {a (2 A b+a B)}{3 x^3}-\frac {b (A b+2 a B)}{x}+b^2 B x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.06, size = 45, normalized size = 0.94
method | result | size |
default | \(-\frac {a^{2} A}{5 x^{5}}-\frac {a \left (2 A b +B a \right )}{3 x^{3}}-\frac {b \left (A b +2 B a \right )}{x}+b^{2} B x\) | \(45\) |
risch | \(b^{2} B x +\frac {\left (-b^{2} A -2 a b B \right ) x^{4}+\left (-\frac {2}{3} a b A -\frac {1}{3} a^{2} B \right ) x^{2}-\frac {a^{2} A}{5}}{x^{5}}\) | \(51\) |
norman | \(\frac {b^{2} B \,x^{6}+\left (-b^{2} A -2 a b B \right ) x^{4}+\left (-\frac {2}{3} a b A -\frac {1}{3} a^{2} B \right ) x^{2}-\frac {a^{2} A}{5}}{x^{5}}\) | \(52\) |
gosper | \(-\frac {-15 b^{2} B \,x^{6}+15 A \,b^{2} x^{4}+30 B a b \,x^{4}+10 a A b \,x^{2}+5 B \,a^{2} x^{2}+3 a^{2} A}{15 x^{5}}\) | \(56\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 51, normalized size = 1.06 \begin {gather*} B b^{2} x - \frac {15 \, {\left (2 \, B a b + A b^{2}\right )} x^{4} + 3 \, A a^{2} + 5 \, {\left (B a^{2} + 2 \, A a b\right )} x^{2}}{15 \, x^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.63, size = 53, normalized size = 1.10 \begin {gather*} \frac {15 \, B b^{2} x^{6} - 15 \, {\left (2 \, B a b + A b^{2}\right )} x^{4} - 3 \, A a^{2} - 5 \, {\left (B a^{2} + 2 \, A a b\right )} x^{2}}{15 \, x^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.31, size = 54, normalized size = 1.12 \begin {gather*} B b^{2} x + \frac {- 3 A a^{2} + x^{4} \left (- 15 A b^{2} - 30 B a b\right ) + x^{2} \left (- 10 A a b - 5 B a^{2}\right )}{15 x^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.86, size = 53, normalized size = 1.10 \begin {gather*} B b^{2} x - \frac {30 \, B a b x^{4} + 15 \, A b^{2} x^{4} + 5 \, B a^{2} x^{2} + 10 \, A a b x^{2} + 3 \, A a^{2}}{15 \, x^{5}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.03, size = 50, normalized size = 1.04 \begin {gather*} B\,b^2\,x-\frac {x^2\,\left (\frac {B\,a^2}{3}+\frac {2\,A\,b\,a}{3}\right )+x^4\,\left (A\,b^2+2\,B\,a\,b\right )+\frac {A\,a^2}{5}}{x^5} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________